import { sendRequest } from '@/http';

/* 分页列表查询 */
export const queryDictList = (params: any) =>
  sendRequest({
    url: `/admin/dict/queryStateList`,
    method: 'get',
    params,
  });

export const edit = (data: any) =>
  sendRequest({
    url: `/admin/dict/editState`,
    method: 'post',
    data,
  });
